package com.jry.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.jry.common.security.annotation.EnableJryFeignClients;

/**
 * 认证授权中心
 *
 * @author zhangsuhang
 */
@EnableJryFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class JryAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(JryAuthApplication.class, args);
        System.out.println("~~~认证授权中心启动成功~~~  \n" +
              "    _                                           _     _     \n"
            + "   (_)                                         | |   | |    \n"
            + "    _   _ __   _   _   ______    __ _   _   _  | |_  | |__  \n"
            + "   | | | '__| | | | | |______|  / _` | | | | | | __| | '_ \\ \n"
            + "   | | | |    | |_| |          | (_| | | |_| | | |_  | | | |\n"
            + "   | | |_|     \\__, |           \\__,_|  \\__,_|  \\__| |_| |_|\n"
            + "  _/ |          __/ |                                       \n"
            + " |__/          |___/     ");
    }
}
